Job Format Modes
QuickDraw GX provides job format modes that allow a printer driver and an application to negotiate the best mode for printing. The gxJobFormatMode data type specifies modes, which are enumerated as follows:
enum { /* direct modes for job objects */ gxGraphicsJobFormatMode = (gxJobFormatMode) 'grph', gxTextJobFormatMode = (gxJobFormatMode) 'text', gxPostscriptJobFormatMode = (gxJobFormatMode) 'post' }; typedef OSType gxJobFormatMode;Constant descriptions
The application calls the
gxGraphicsJobFormatMode
- If set, QuickDraw GX uses graphics mode.
gxTextJobFormatMode
- If set, QuickDraw GX uses text mode.
gxPostScriptJobFormatMode
- If set, QuickDraw GX uses PostScript mode.
GXSetAvailableJobFormatModes
function to inform the printer driver of the modes that the application supports, using a gxJobFormatModeTable structure to identify the supported modes.
struct gxJobFormatModeTable{ long numModes; /* number of direct modes */ gxJobFormatMode modes[1]; /* any number direct modes */ };
Field Description
numModes
- The number of modes that the application supports.
modes[1]
- An array that contains the modes.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help